#ifndef DSEARCHRESULTITEM_H
#define DSEARCHRESULTITEM_H

#include <QFrame>
#include <QObject>

#include "DHeader.h"

class DSearchResultItem : public QFrame
{
    Q_OBJECT
public:
    explicit DSearchResultItem(const DUIHomeworkItem& item,
                               QWidget* parent = nullptr);

signals:
    void signalDetail(DUIHomeworkItem item);
};

#endif  // DSEARCHRESULTITEM_H
